package com.chaoyong.higo.adapter;

import com.chaoyong.higo.R;
import com.chaoyong.higo.base.BaseAdapter;
import com.chaoyong.higo.utils.ViewHolder;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

/**
 * 我的云币
 * @author zk
 *
 */
public class YunBAdapter extends BaseAdapter<Object> {
	
	/**时间*/
	private TextView item_yunb_times;
	/**行为*/
	private TextView item_yunb_actions;
	/**影响云币*/
	private TextView item_influence_yunb;
	/**影响积分*/
	private TextView item_influence_jifen;

	public YunBAdapter(Context context) {
		super(context);
	}
	
	@Override
	public int getCount() {
		return 10;
	}

	@Override
	public View getView(int position, View convertView, ViewGroup parent) {
		if (convertView == null) {
			convertView = mInflater.inflate(R.layout.item_my_yunb, null);
		}
		
		item_yunb_times = ViewHolder.get(convertView, R.id.item_yunb_times);
		item_yunb_actions = ViewHolder.get(convertView, R.id.item_yunb_actions);
		item_influence_yunb = ViewHolder.get(convertView, R.id.item_influence_yunb);
		item_influence_jifen = ViewHolder.get(convertView, R.id.item_influence_jifen);
		
		return convertView;
	}

}
